<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑笔记 - SimpleNote</title>
    <link rel="stylesheet" href="note-edit-styles.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <!-- Markdown 编辑器支持 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.css">
    <script src="https://cdn.jsdelivr.net/npm/easymde/dist/easymde.min.js"></script>
</head>
<body>
    <div class="container">
        <!-- 顶部导航栏 -->
        <nav class="top-nav">
            <div class="nav-left">
                <a href="index.html" class="back-btn">
                    <i class="fas fa-arrow-left"></i>
                </a>
                <input type="text" id="note-title" class="title-input" placeholder="输入笔记标题">
            </div>
            <div class="nav-right">
                <button class="save-btn" id="save-note">
                    <i class="fas fa-save"></i>
                    保存
                </button>
            </div>
        </nav>

        <!-- 主要内容区 -->
        <div class="content-wrapper">
            <!-- 笔记信息 -->
            <div class="note-info">
                <div class="info-row">
                    <div class="info-group">
                        <label>开始时间</label>
                        <input type="datetime-local" id="start-time">
                    </div>
                    <div class="info-group">
                        <label>结束时间</label>
                        <input type="datetime-local" id="end-time">
                    </div>
                </div>
                <div class="info-row">
                    <div class="info-group">
                        <label>优先级</label>
                        <select id="priority">
                            <option value="高">高</option>
                            <option value="中">中</option>
                            <option value="低">低</option>
                        </select>
                    </div>
                    <div class="info-group">
                        <label>状态</label>
                        <select id="status">
                            <option value="未开始">未开始</option>
                            <option value="进行中">进行中</option>
                            <option value="已完成">已完成</option>
                        </select>
                    </div>
                    <div class="info-group">
                        <label>负责人</label>
                        <input type="text" id="assignee" placeholder="输入负责人姓名">
                    </div>
                </div>
            </div>

            <!-- Markdown 编辑器 -->
            <div class="editor-section">
                <textarea id="markdown-editor"></textarea>
            </div>
        </div>
    </div>

    <script src="note-edit-script.js"></script>
</body>
</html> 